(vc-menu-map-filter): Reapply 2007-08-06 bugfix.
authorJason Rumney <jasonr@gnu.org>
Wed, 22 Aug 2007 22:39:10 +0000 (22:39 +0000)
committerJason Rumney <jasonr@gnu.org>
Wed, 22 Aug 2007 22:39:10 +0000 (22:39 +0000)
lisp/vc-hooks.el

index c206d5e953c73486565bd026bdcf2301a158a407..7e830d7d16835ae99ad3180186484ece11ff5ee4 100644 (file)
@@ -964,7 +964,8 @@ Used in `find-file-not-found-functions'."
   (if (and (symbolp orig-binding) (fboundp orig-binding))
       (setq orig-binding (indirect-function orig-binding)))
   (let ((ext-binding
-         (if vc-mode (vc-call extra-menu buffer-file-name))))
+         (if vc-mode (vc-call-backend (vc-backend buffer-file-name)
+                                      'extra-menu))))
     ;; Give the VC backend a chance to add menu entries
     ;; specific for that backend.
     (if (null ext-binding)